package com.ruoyi.shop.mapper;

import com.ruoyi.shop.domain.OpenIdMemberCfgBean;
import org.apache.ibatis.annotations.Mapper;

/**
 * @ClassName OpenIdMemberCfgBeanMapper
 * @Description TODO
 * @Author 刘欢
 * @Date 2021/11/10 21:29
 * @Version 1.0.0
 * @Modify Time  Version
 */
@Mapper
public interface OpenIdMemberCfgBeanMapper {

    /**
     *@Author 刘欢
     *@Date 2021/11/10 21:29
     *@Description 根据id查询
     *@Params id
     *@Return OpenIdMemberCfgBean
     */
    OpenIdMemberCfgBean selectOpenIdMemberCfgById(Long id);

    /**
     *@Author 刘欢
     *@Date 2021/11/10 21:29
     *@Description 插入OpenIdMemberCfgBean
     *@Params openIdMemberCfgBean
     *@Return 行数
     */
    int insertOpenIdMemberCfg(OpenIdMemberCfgBean openIdMemberCfgBean);

    Long getId();

    int getCountByMember(Long memberId);

    int updateOpenIdMemberCfg(OpenIdMemberCfgBean openIdMemberCfgBean);
}
